package com.allin.mall.user;

import com.allin.mall.common.es.annotation.EnableElasticsearch;
import com.allin.mall.common.redis.annotation.EnableDistributedLock;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(scanBasePackages = "com.allin.mall")
@EnableDiscoveryClient
@EnableDistributedLock
@EnableElasticsearch
public class MallUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallUserApplication.class, args);
    }
}
